package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 部门角色用户表
 *
 * @author WeiZiDong
 */
@Table(name = "`sys_depart_role_user`")
@Data
@ApiModel("部门角色用户表")
public class SysDepartRoleUser implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "主键id", example = "String")
    private String id;
    @Column(name = "`user_id`")
    @ApiModelProperty(value = "用户id", example = "String")
    private String userId;
    @Column(name = "`drole_id`")
    @ApiModelProperty(value = "角色id", example = "String")
    private String droleId;

    private static final long serialVersionUID = 1L;
}
